package com.Excepton;

import java.util.Scanner;

public class TestStuden {
    public static void main(String[] args) {
        Studen s = new Studen();
        Scanner s1 = new Scanner(System.in);
        System.out.println("请输入你的姓名");
        String ste = s1.nextLine();
        s.setName(ste);
        System.out.println("请输入你的年龄");
        int newage = s1.nextInt();
        s.getAge();
        System.out.println(s);

    }
}
